package com.yc.mybatis.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.sql.Timestamp;
import java.util.List;

/**
 * Company 源辰信息
 *
 * @author navy
 * @date 2024/10/24
 * Email haijunzhou@hnit.edu.cn
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Bill {
    private Integer id;
    private String type;
    private String custom;
    private Integer sums;
    private Timestamp time;
    private Integer uid;
    // 经办人 对象,  1 对 1
    private User user;
    // 订单明细集合  1 对 多
    private List<BillItem> items;
}
